import { IpcWindow } from "@/util/IpcWindow/IpcWindow";
import { WindowName } from "@/mdesign-lib/mdesign-main.js";

export type Params = {
  command?: string;
  params?: string;
  type?: string;
};

export type CloseData = {
  windowName?: string;
  success: boolean;
  command?: string;
  params?: string;
  type?: string;
};
export const ChinaSouthZYSettingWindow = new IpcWindow<
  // 参数
  Params,
  // 返回值
  CloseData
>(WindowName.ChinaSouthZYSettingWindow);
